import request from '@/utils/request'


/**
 * 单条数据
 * @param {*} data 
 */
export function getRoomInfo(data) {
    return request({
      url: '/admin/live/room/getInfo',
      method: 'post',
      data
    })
}


/**
 * 生成地址
 * @param {*} data 
 */
export function getPushFlow(data) {
    return request({
      url: '/admin/live/room/getPushFlow',
      method: 'post',
      data
    })
}


/**
 * 背景分类
 * @param {*} data 
 */
export function getFilmBackgroudCategory(data) {
  return request({
    url: '/admin/live/filmBackgroundCategory/getCategory',
    method: 'post',
    data
  })
}


/**
 * 主题分类
 * @param {*} data 
 */
export function getThemeCategory(data) {
  return request({
    url: '/admin/live/themeCategory/getCategory',
    method: 'post',
    data
  })
}


/**
 * 礼物分类
 * @param {*} data 
 */
export function getGiftCategory(data) {
  return request({
    url: '/admin/live/giftCategory/getCategory',
    method: 'post',
    data
  })
}